﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace GameStudio.Common//.Serilization.SerializableItems
{
    //[KnownType(typeof(FileItem))]
    [Serializable]
    public class Project
    {
        public Project()
        {
            Setting = new Settings();
            Reference = new List<References>();
            items = new List<Items>();
        }

        [XmlAttribute("ProjectName")]
        public string ProjectName
        { get; set; }


        [XmlAttribute("Location")]
        public string Location
        { get; set; }

        [XmlElement("Settings")]
        public Settings Setting
        { get; set; }

        [XmlArray("References")]
        [XmlArrayItem("Reference")]
        public List<References> Reference
        { get; set; }

        [XmlArray("Items")]
        [XmlArrayItem("Item")]
        public List<Items> items
        { get; set; }

    }
}
